\documentclass[a4paper]{article}
\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usepackage{charter}   % tipografia
\usepackage{graphicx}
\usepackage{algpseudocode}
\usepackage[colorlinks=true, linkcolor=black]{hyperref}
\usepackage[T1]{fontenc}
%\usepackage{makeidx}

%\usepackage{float}
%\usepackage{amsmath, amsthm, amssymb}
%\usepackage{amsfonts}
%\usepackage{sectsty}
%\usepackage{charter}
%\usepackage{wrapfig}
%\usepackage{listings}
%\lstset{language=C}


\input{codesnippet}
\input{page.layout}
% \setcounter{secnumdepth}{2}
\usepackage{underscore}
\usepackage{caratula}
\usepackage{url}
\usepackage{float}

% New definitions
\algnewcommand\algorithmicswitch{\textbf{switch}}
\algnewcommand\algorithmiccase{\textbf{case}}
\algnewcommand\algorithmicassert{\texttt{assert}}
\algnewcommand\algorithmicremove{\texttt{removeCurrentTask}}
\algnewcommand\algorithmicnext{\texttt{nextTask}}
\algnewcommand\Assert[1]{\State \algorithmicassert(#1)}%
\algnewcommand\RemoveCurrentTask[1]{\State \algorithmicremove(#1)}%
\algnewcommand\NextTask[1]{\State \algorithmicnext(#1)}%
% New "environments"
\algdef{SE}[SWITCH]{Switch}{EndSwitch}[1]{\algorithmicswitch\ #1\ \algorithmicdo}{\algorithmicend\ \algorithmicswitch}%
\algdef{SE}[CASE]{Case}{EndCase}[1]{\algorithmiccase\ #1}{\algorithmicend\ \algorithmiccase}%
\algtext*{EndSwitch}%
\algtext*{EndCase}%



\begin{document}


\thispagestyle{empty}
\materia{Sistemas Operativos}
\submateria{Segundo Cuatrimestre de 2014}
\titulo{Trabajo Práctico I}
\subtitulo{Scheduling}
\integrante{Diego Sebastián Benítez}{633/01}{bareshster@gmail.com}
\integrante{Carlos Cuestas}{---/--}{cuestas.carlos@gmail.com}
\integrante{Mariano Villablanca}{810/04}{villametal2@yahoo.com.ar}

\maketitle
\newpage

\thispagestyle{empty}
\vfill

\thispagestyle{empty}
\vspace{3cm}
\tableofcontents
\newpage

%\normalsize
\newpage

\input{ejercicio1.tex}
\newpage

\input{ejercicio2.tex}
\newpage

\input{ejercicio4.tex}
\newpage

\input{ejercicio5.tex}
\newpage

\input{ejercicio7.tex}
\newpage

\input{ejercicio9.tex}
\newpage

\input{ejercicio10.tex}
\newpage

\end{document}

